package designPattern.facade;

public class Stereo {

    //使用单例模式,使用饿汉式
    private static Stereo instance = new Stereo();

    public static Stereo getInstance(){
        return instance;
    }

    public void on(){
        System.out.println("project on");
    }

    public void off(){
        System.out.println("project off");
    }

    public void focus(){
        System.out.println("project focus");
    }

}
